import { request } from '@/utils/request'

// 获取当前用户的考试报名信息
export function paperDetail(param) {
    return request({
        url: '/examSignUp/selectByCondition',
        method: 'get',
        params: param
    })
}

// 获取报名状态
export function paperState(param) {
    return request({
        url: '/examSignUp/getReportState',
        method: 'get',
        params: param
    })
}

// 获取所有专业
export function paperMajor(param) {
    return request({
        url: '/examSignUp/getSpecialty',
        method: 'get',
        params: param
    })
}

// 获取考试的考场信息
export function paperRoom(param) {
    return request({
        url: '/examSignUp/getExam',
        method: 'get',
        params: param
    })
}


// 在线考试
// 获取 生成试卷
export function paperOnline(param) {
    return request({
        url: '/onLineExam/generatePaper',
        method: 'get',
        params: param
    })
}
